package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.ArrangeLectureHistory;
import com.yuyou.fn.educational.vo.ArrangeLectureHistoryDetailVo;
import com.yuyou.fn.educational.vo.ArrangeLectureHistoryQueryVo;
import com.yuyou.fn.platform.permission.DataPermission;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

import java.util.List;

/**
 *
 * ArrangeLectureHistory 表数据服务层接口
 *
 */
public interface IArrangeLectureHistoryService extends ISuperService<ArrangeLectureHistory,Long> {

    Page<ArrangeLectureHistoryDetailVo> findArrangeLectureHistoryPage(DataPermission dataPermission, ArrangeLectureHistoryQueryVo arrangeLectureHistoryQueryVo, int pageNo, int pageSize);

    SXSSFWorkbook exportArrangeLectureHistory(DataPermission dataPermission, ArrangeLectureHistoryQueryVo arrangeLectureHistoryQueryVo) ;

    List<ArrangeLectureHistoryDetailVo> findLimitList(ArrangeLectureHistoryQueryVo arrangeLectureHistoryQueryVo, int start, int end);

    Integer countArrangeLetureHistory(ArrangeLectureHistoryQueryVo arrangeLectureHistoryQueryVo);
}